﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WsdShop.Model
{
    public class MemberBalanceDetail
    {
        /// <summary>
        /// 
        /// </summary>
        public decimal Id { get; set; }
        /// <summary>
        /// 会员Id
        /// </summary>
        public int MemberId { get; set; }
        /// <summary>
        /// 获得积分
        /// </summary>
        public int Point { get; set; }
        /// <summary>
        /// 获得金额
        /// </summary>
        public decimal Amount { get; set; }
        /// <summary>
        /// 当前积分
        /// </summary>
        public int MemberPoint { get; set; }
        /// <summary>
        /// 当前余额
        /// </summary>
        public decimal MemberAmount { get; set; }
        /// <summary>
        /// 订单Id
        /// </summary>
        public int OrderId { get; set; }
        /// <summary>
        /// 订单号
        /// </summary>
        public string OrderNo { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Note { get; set; }
        private DateTime addTime = DateTime.Now;
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddTime { get { return addTime; } set { addTime = value; } }

        /// <summary>
        /// 
        /// </summary>
        public int AddUserId { get; set; }
        private bool isDeleted = false;
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleted { get { return isDeleted; } set { isDeleted = value; } }
    }
}
